package com.woniu.userassembly.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.ly.model.model.UserOrder;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface UserOrderMapper extends BaseMapper<UserOrder> {
    @Update("UPDATE `t_user_order` SET user_order_status = #{status} WHERE user_order_id = #{orderId}")
    void changeOrderStatus(@Param("orderId") int orderId,@Param("status") String status);
}
